<div class="ywglxt-main-container">
  <div class="left">
    <div class="tab-wrap">
      <div class="tab" *ngFor="let tab of tabData"  [ngClass]="{'active': tab.value === selectTabValue}"
           (click)="tabChange(tab)">{{tab.name}}</div>
    </div>
  </div>

  <div class="right">
    <ng-container *ngIf="selectTabValue == '1'">
      <app-ywglxt-tab1></app-ywglxt-tab1>
    </ng-container>
    <ng-container *ngIf="selectTabValue == '2'">
      <app-ywglxt-tab2></app-ywglxt-tab2>
    </ng-container>
    <ng-container *ngIf="selectTabValue == '3'">
      <app-ywglxt-tab3></app-ywglxt-tab3>
    </ng-container>
    <ng-container *ngIf="selectTabValue == '4'">
      <app-ywglxt-tab4></app-ywglxt-tab4>
    </ng-container>

  </div>
</div>
